<script>
  let obj = { name: "张三", age: 21 }
  obj.forEach(item=>{
    console.log(item)
  })
</script>